package org.agony2d.gpu.core {
	import flash.geom.Point;
	import flash.utils.ByteArray;
	import flash.utils.Endian;
	import org.agony2d.core.agony_internal;
	
	use namespace agony_internal;
	
public class VertexProxy {
	
	public function VertexProxy() {
		this.bytes = new ByteArray
		this.bytes.endian = Endian.LITTLE_ENDIAN
	}
	
	agony_internal static const BYTES_UV_OFFSET:int = 8
	agony_internal static const BYTES_COLOR_OFFSET:int = 16
	agony_internal static const BYTES_TOTAL:int = 20
	agony_internal static const BYTES_PER_NODE:int = 80
	agony_internal static const NUM_VERTEX_PER_NODE:int = 4
	
	agony_internal static var cachedPoint:Point = new Point
	
	agony_internal var bytes:ByteArray
}
}